<template>
	<view>
		<!-- <view class="view-box animated "  hover-stay-time="1000"
		hover-class="view-box-hover rubberBand">
			第一个view组件
		</view>
		<text :selectable="true">这是&nbsp; &nbsp;&nbsp;&nbsp;一个text \n 这是一个text \n 这是一个text \n</text>
		
		<view class="box">
			<text>text组件</text>
			<view>1</view>
			<view>2</view>
			<view>3</view>
		</view> -->
		<view class="box1">
			<view class="box-item">
				1
			</view>
			<view class="box-item">
				2
			</view>
			<!-- <view class="box-item">
				3
			</view>
			<view class="box-item">
				5
			</view>
			<view class="box-item">
				6
			</view> -->
		</view>
		
		
		
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			
		}
	}
</script>

<style>
/* .view-box{
	width: 200upx;
	height: 200upx;
	background-color: blue;
}
.view-box-hover{
	background-color: red;
}

.box{
	width: 200upx;
	height: 200upx;
	background: #007aff;
	color: #fff;
	padding: 50upx;
	margin: 100upx;	
}
.box view {
	font-size: 30upx;
}
.box>view:nth-of-type(1){
	background: #09bb07;
}
.box>view:nth-of-type(2) {
	background: red;
}
.box>view:nth-of-type(3) {
	background: pink;
} */

.box1{
	height: 500upx;
	width: 100;
	border: 1px solid #333;
	display: flex;
	/* flex-direction: column;
	justify-content: center;
	align-items: center; */
}
	
.box-item{
	color: #fff;
	height: 200upx;
	/* width: 200upx; */
	flex: 1;
	font-size: 30upx;
	font-weight: bold;
	display: flex;
	justify-content: center;
	align-items: center;
}

.box-item:nth-of-type(odd) {
	background: burlywood;
}
.box-item:nth-of-type(even){
	background: cadetblue;
}
.box-item:nth-of-type(1){
	flex-shrink: 0;
}


</style>
